package cn.com.nes.site.entity.dto;

import java.io.Serializable;
import java.util.List;

public class CalculateTreeDto implements Serializable {

    private String id;
    private String name;
    private String pid;
    private String pidName;
    private List<CalculateTreeDto> childrens;

    public CalculateTreeDto() {
    }

    public CalculateTreeDto(String id, String name, String pid, String pidName, List<CalculateTreeDto> childrens) {
        this.id = id;
        this.name = name;
        this.pid = pid;
        this.pidName = pidName;
        this.childrens = childrens;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getPidName() {
        return pidName;
    }

    public void setPidName(String pidName) {
        this.pidName = pidName;
    }

    public List<CalculateTreeDto> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<CalculateTreeDto> childrens) {
        this.childrens = childrens;
    }
}
